package com.softwinner.bt.Fragment;

import com.softwinner.bt.MainActivity;
import com.softwinner.bt.policy.BTManager;
import com.softwinner.bt.util.DatabaseHelper;
import com.softwinner.bt.util.Utils;

import android.app.Fragment;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;

public class BaseFragment extends Fragment {
	protected MainActivity mActivity;
	protected DatabaseHelper mDatabaseHelper;
	protected BTManager mBTManager;

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onActivityCreated(savedInstanceState);		
		mActivity = (MainActivity)getActivity();
		mBTManager = BTManager.getInstance();
		mDatabaseHelper = DatabaseHelper.getDatabaseHelper(mActivity);
	}
	
	@Override
	public void onDestroy() {
		// TODO Auto-generated method stub
		super.onDestroy();
	}
}
